package com.zyg.apart.service;

import com.github.pagehelper.PageInfo;
import com.zyg.apart.model.Lessee;
import com.zyg.apart.model.Rect;
import org.springframework.stereotype.Repository;

import java.util.Map;

@Repository
public interface RectService {
    PageInfo<Map<String, Object>> getAllRect(Integer currentPage);

    Map<String, Object> getRectById(Integer id);

    int editRect(Rect rect);

    int addRect(Rect rect);

    int delRectById(Integer id);
}
